﻿@using DirectSell.Model.ManagerNotice
@using Webdiyer.WebControls.Mvc;
@model PagedList<Notices>

<table class="table table-border table-bordered table-hover table-bg table-sort">
    <thead>
        <tr class="text-c">
            @*<th width="25"><input type="checkbox" name="" value=""></th>*@
            <th width="80">序号</th>
            <th width="100">标题</th>
            <th width="40">作者</th>
            <th width="90">发布时间</th>
            <th width="150">排序</th>
            <th width="100">操作</th>
        </tr>
    </thead>
    <tbody>
        @{ int i = 0;}
        @foreach (var item in Model)
        {
            <tr class="text-c">
                <td>@(Model.StartItemIndex + i++)</td>
                <td><u style="cursor:pointer" class="text-primary" onclick="member_show('公告内容', '/Manager/Notice/NotifyInfo?id=@item.Id', '10001')">@item.Title</u></td>
                <td>@item.Author</td>
                <td>@item.CreateDate</td>
                <td><input type="text" class="input-text text-c" style="width:50px" value="@item.Sort" onblur="UpSort(this.value,@item.Id)" /></td>
                @*<td>@item.Sort</td>*@
                <td class="td-manage">
                    <a style="text-decoration:none" class="ml-5" onClick="article_edit('编辑','/Manager/Notice/Edit?id=@item.Id',@item.Id)" href="javascript:;" title="编辑"><i class="Hui-iconfont">&#xe6df;</i></a>
                    <a style="text-decoration:none" class="ml-5" onClick="article_del(@item.Id)" href="javascript:;" title="删除"><i class="Hui-iconfont">&#xe6e2;</i></a>
                </td>

            </tr>
        }
    </tbody>
</table>

